package com.yeung.annotation.repository;

import com.yeung.annotation.entity.Person;
import org.springframework.stereotype.Repository;

//默认会以驼峰命名法命名它的实例
//也可以自己指定名字
@Repository("userRepository")
public class UserRepositoryImp implements UserRepository {
    @Override
    public void save(Person person) {
        System.out.println("userRepository save ...");
    }
}
